//
//  LGAuthenticateCollectionViewCell.m
//  LuxuryGoods
//
//  Created by 纳里健康 on 2018/6/8.
//  Copyright © 2018年 Future. All rights reserved.
//

#import "LGAuthenticateCollectionViewCell.h"

@implementation LGAuthenticateCollectionViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setAuthenticateCellWithDict:(NSDictionary *)dict
{
    
}

- (IBAction)addAction:(id)sender {
    
    if([self.delegate respondsToSelector:@selector(addProductToSelectAtIndex:)])
    {
        [self.delegate addProductToSelectAtIndex:self.cellTag];
    }
}

//加号按钮
- (IBAction)countAdd:(id)sender {
    
    if([self.delegate respondsToSelector:@selector(productCountAddAtIndex:)])
    {
        [self.delegate productCountAddAtIndex:self.cellTag];
    }
}
//减号按钮
- (IBAction)countSubtract:(id)sender {
    
    if([self.delegate respondsToSelector:@selector(productCountReduceAtIndex:)])
    {
        [self.delegate productCountReduceAtIndex:self.cellTag];
    }
}


@end
